package com.oa.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class MonitoringAddDTO {

    @ApiModelProperty(value = "账号")
    @NotNull(message = "<账号>字段<account>不能为空！")
    private String account;

    @ApiModelProperty(value = "管理员姓名")
    @NotNull(message = "<管理员姓名>字段<administratorName>不能为空！")
    private String administratorName;

    @ApiModelProperty(value = "权限")
    @NotNull(message = "<权限>字段<permission>不能为空！")
    private String permission;

    @ApiModelProperty(value = "负责开始时间")
    @NotNull(message = "<负责开始时间>字段<startTime>不能为空！")
    private Date startTime;

    @ApiModelProperty(value = "负责结束时间")
    @NotNull(message = "<负责结束时间>字段<endTime>不能为空！")
    private Date endTime;

    @ApiModelProperty(value = "设备")
    @NotNull(message = "<设备>字段<equipment>不能为空！")
    private String equipment;


    @ApiModelProperty(value = "职责")
    @NotNull(message = "<职责>字段<duty>不能为空！")
    private String duty;

    @ApiModelProperty(value = "备注")
    private String remake;


}
